﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Event.UI
{
    /// <summary>
    /// 性能监控报告
    /// </summary>
    public class UIPerformanceMonitorReportEvent : UIEvent
    {
        public double CurrentPrivateWorkingSet { get; set; }
        public double CurrentWorkingSet { get; set; }
        public double CurrentCPU { get; set; }
        public double TotalCPU { get; set; }

        public UIPerformanceMonitorReportEvent(double currentPrivateWorkingSet,
            double currentWorkingSet,
            double currentCPU,
            double totalCPU)
        {
            this.CurrentPrivateWorkingSet = currentPrivateWorkingSet;
            this.CurrentWorkingSet = currentWorkingSet;
            this.CurrentCPU = currentCPU;
            this.TotalCPU = totalCPU;
        }
    }
}
